package org.goodsence.modernarrangedmarriage.api;

import org.goodsence.api.ModernArrangedMarriageApi;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zty
 * @apiNote
 * @project_name the-revolt
 * @user tain
 * @create_at 2023/6/14 19:15
 * @create_vio IntelliJ IDEA
 */
@RestController
public class ModernArrangedMarriageApiImpl implements ModernArrangedMarriageApi {
    @Override
    public String test() {
        if (Math.random() < 0.5){
            throw new RuntimeException();
        }
        return "服务调用成功！";
    }
}
